package com.yaodian100.ec.product.remote;

import java.math.BigDecimal;
import java.util.Set;

import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 * @author ellen.li
 * 
 */
@WebService(serviceName = "remoteProductService")
public interface RemoteProductService {
	@WebMethod
	public String updateProductCost(String productId, BigDecimal cost);

	@WebMethod
	public String updateProductCostArray(String[] productId, BigDecimal[] cost);

	@WebMethod
	public String updatePreOrderProduct(int count);

	@WebMethod
	public String updateAddOnProductStatus(int count);

	@WebMethod
	public String syncProductIsScm(int count);

	@WebMethod
	public String sendCodLimitReport(String date);

	@WebMethod
	public boolean checkAll();

	@WebMethod
	public String[] checkInventory(String supplierId, String productIdRangeFrom, String productIdRangeEnd);

	@WebMethod
	public String checkInventorySet(Set<String> specIds);
}